package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesAccountTrace;
import com.sl.mes.db.vo.MesAccountTraceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesAccountTraceMapper {
    long countByExample(MesAccountTraceExample example);

    int deleteByExample(MesAccountTraceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesAccountTrace record);

    int insertSelective(MesAccountTrace record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_account_trace
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAccountTrace selectOneByExample(MesAccountTraceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_account_trace
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAccountTrace selectOneByExampleSelective(@Param("example") MesAccountTraceExample example, @Param("selective") MesAccountTrace.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_account_trace
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesAccountTrace> selectByExampleSelective(@Param("example") MesAccountTraceExample example, @Param("selective") MesAccountTrace.Column ... selective);

    List<MesAccountTrace> selectByExample(MesAccountTraceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_account_trace
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAccountTrace selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesAccountTrace.Column ... selective);

    MesAccountTrace selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MesAccountTrace record, @Param("example") MesAccountTraceExample example);

    int updateByExample(@Param("record") MesAccountTrace record, @Param("example") MesAccountTraceExample example);

    int updateByPrimaryKeySelective(MesAccountTrace record);

    int updateByPrimaryKey(MesAccountTrace record);
}